package com.revenant.driver.bean.Driver;

import java.util.List;

public class ZhiPaiListBean {


    /**
     * code : 0
     * msg : SUCCESS
     * sign : null
     * timestamp : 0
     * data : {"total":2,"result":[{"id":12,"driverId":82,"goodsId":32,"vehicleLeader":"不限车长|不限车型|不限","weight":10,"createTime":"2020-02-13 20:44:58","companyName":"郭*良","isAuto":true,"isOnline":false,"total":6,"loading":"辽宁省-辽阳市-白塔区","unloading":"北京市-北京市-朝阳区","price":null},{"id":17,"driverId":82,"goodsId":34,"vehicleLeader":"不限车长|不限车型|不限","weight":10,"createTime":"2020-02-14 10:29:44","companyName":"郭*良","isAuto":true,"isOnline":false,"total":3,"loading":"广西壮族自治区-钦州市-钦南区","unloading":"浙江省-金华市-婺城区","price":100}],"pageNum":1,"pageSize":10,"pages":1,"size":2}
     */

    private String code;
    private String msg;
    private Object sign;
    private int timestamp;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getSign() {
        return sign;
    }

    public void setSign(Object sign) {
        this.sign = sign;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * total : 2
         * result : [{"id":12,"driverId":82,"goodsId":32,"vehicleLeader":"不限车长|不限车型|不限","weight":10,"createTime":"2020-02-13 20:44:58","companyName":"郭*良","isAuto":true,"isOnline":false,"total":6,"loading":"辽宁省-辽阳市-白塔区","unloading":"北京市-北京市-朝阳区","price":null},{"id":17,"driverId":82,"goodsId":34,"vehicleLeader":"不限车长|不限车型|不限","weight":10,"createTime":"2020-02-14 10:29:44","companyName":"郭*良","isAuto":true,"isOnline":false,"total":3,"loading":"广西壮族自治区-钦州市-钦南区","unloading":"浙江省-金华市-婺城区","price":100}]
         * pageNum : 1
         * pageSize : 10
         * pages : 1
         * size : 2
         */

        private int total;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int size;
        private List<ResultBean> result;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * id : 12
             * driverId : 82
             * goodsId : 32
             * vehicleLeader : 不限车长|不限车型|不限
             * weight : 10
             * createTime : 2020-02-13 20:44:58
             * companyName : 郭*良
             * isAuto : true
             * isOnline : false
             * total : 6
             * loading : 辽宁省-辽阳市-白塔区
             * unloading : 北京市-北京市-朝阳区
             * price : null
             */

            private int id;
            private int driverId;
            private int goodsId;
            private String vehicleLeader;
            private String weight;
            private String createTime;
            private String companyName;
            private boolean isAuto;
            private boolean isOnline;
            private String total;
            private String loading;
            private String unloading;
            private String  price;

            private int danWei=1;


            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getDriverId() {
                return driverId;
            }

            public void setDriverId(int driverId) {
                this.driverId = driverId;
            }

            public int getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(int goodsId) {
                this.goodsId = goodsId;
            }

            public String getVehicleLeader() {
                return vehicleLeader;
            }

            public void setVehicleLeader(String vehicleLeader) {
                this.vehicleLeader = vehicleLeader;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCompanyName() {
                return companyName;
            }

            public void setCompanyName(String companyName) {
                this.companyName = companyName;
            }

            public boolean isIsAuto() {
                return isAuto;
            }

            public void setIsAuto(boolean isAuto) {
                this.isAuto = isAuto;
            }

            public boolean isIsOnline() {
                return isOnline;
            }

            public void setIsOnline(boolean isOnline) {
                this.isOnline = isOnline;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getLoading() {
                return loading;
            }

            public void setLoading(String loading) {
                this.loading = loading;
            }

            public String getUnloading() {
                return unloading;
            }

            public void setUnloading(String unloading) {
                this.unloading = unloading;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getDanwei() {
                return danWei;
            }

            public void setDanwei(int danwei) {
                this.danWei = danwei;
            }
        }
    }
}
